package org.jeecg.modules.demo.temple.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.demo.temple.weixin.entity.TempleUser;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 供养订单表
 * @Author: jeecg-boot
 * @Date:   2022-05-04
 * @Version: V1.0
 */
@Data
@TableName("temple_donation_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="temple_donation_order对象", description="供养订单表")
public class TempleDonationOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**项目id*/
	@Excel(name = "项目id", width = 15, dictTable = "temple_donation", dicText = "name", dicCode = "id")
	@Dict(dictTable = "temple_donation", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "项目id")
    private java.lang.String donationId;
	/**项目类型*/
	@Excel(name = "项目类型", width = 15, dictTable = "temple_donation_type", dicText = "name", dicCode = "id")
	@Dict(dictTable = "temple_donation_type", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "项目类型")
    private java.lang.String donationTypeId;
	/**模块id*/
	@Excel(name = "模块id", width = 15, dictTable = "temple_donation_module", dicText = "name", dicCode = "id")
	@Dict(dictTable = "temple_donation_module", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "模块id")
    private java.lang.String moduleId;
	/**模块名称*/
	@Excel(name = "模块名称", width = 15)
    @ApiModelProperty(value = "模块名称")
    private java.lang.String moduleName;
	/**用户id*/
	@Excel(name = "用户id", width = 15, dictTable = "temple_user", dicText = "nick_name", dicCode = "id")
	@Dict(dictTable = "temple_user", dicText = "nick_name", dicCode = "id")
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String mobile;
	/**是否公开*/
	@Excel(name = "是否公开", width = 15)
    @ApiModelProperty(value = "是否公开")
    private java.lang.String isOpen;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal amount;
	/**是否已支付*/
	@Excel(name = "是否已支付", width = 15)
    @ApiModelProperty(value = "是否已支付")
    private java.lang.String isPay;
	/**支付渠道*/
	@Excel(name = "支付渠道", width = 15)
    @Dict(dicCode = "pay_channel")
    @ApiModelProperty(value = "支付渠道")
    private java.lang.String payChannel;
	/**支付凭证*/
	@Excel(name = "支付凭证", width = 15)
    @ApiModelProperty(value = "支付凭证")
    private java.lang.String payVoucher;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**已登记人数*/
    @TableField(exist = false)
    @ApiModelProperty(value = "下单用户")
    private TempleUser user;
}
